package org.springblade.common.enums.library;

/**
 * @Author: KrisChan
 * @Date: 2023/4/19 9:23
 * @Version: 1.0
 * @Description: 题目类型
 */
public enum QuestionType {
	/**
	 * 单选题
	 */
	SINGLE("单选题", 1),
	/**
	 * 多选题
	 */
	MULTIPLE("多选题", 2),
	/**
	 * 判断题
	 */
	JUDGE("判断题", 3),
	/**
	 * 填空题
	 */
	FILL("填空题", 4),
	/**
	 * 简答题
	 */
	SHORT("简答题", 5);

	/**
	 * 值
	 */
	private String value;
	/**
	 * 编码
	 */
	private Integer code;


	QuestionType(String value, Integer code) {
		this.value = value;
		this.code = code;
	}

	public String getValue() {
		return value;
	}


	public Integer getCode() {
		return code;
	}


}
